#pragma once
#include "Item.h"

class EquippableItem : public Item {
protected:
	bool m_equippableIdentified;
	virtual bool isEnchanted() const = 0;
public:
	EquippableItem(GenericType type);
	EquippableItem(GenericType type, std::ifstream& file);
	~EquippableItem();
	bool isEquippableIdentified() const;
	void identify();
	std::string getColoredItemName(int mod = 0) const;
	void save(std::ofstream& file) const;
};

inline bool EquippableItem::isEquippableIdentified() const {return m_equippableIdentified;}
